package com.wzapp.sitposture.authentication.pojo.param;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created by qianglong on 2018/2/27.
 */
@Data
public class FetchMobileParam implements Serializable {

    private static final long serialVersionUID = -1368777170253742132L;

    /**
     * 手机号码
     */
    @NotBlank
    private String mobile;

    /**
     * 类型
     * 1.type:register 注册时传入，用于验证手机号码是否已注册
     * 2.type:password 找回密码时传入，用于验证手机号码是否已注册
     */
    @NotBlank
    private String type;
}
